<?php

namespace app\common\model\introduction;

use think\Cache;
use app\common\model\BaseModel;

/**
 * 概况分类模型
 * Class Category
 * @package app\common\model
 */
class Category extends BaseModel
{
    protected $name = 'introduction_category';

    /**
     * 所有分类
     * @return mixed
     */
    public static function getALL($shanghui_id = 0)
    {   
        $model = new static;
        return $model->where('shanghui_id',$shanghui_id)->order(['sort' => 'asc', 'create_time' => 'asc'])->select();;
    }

}
